const Router = require('koa2-router');
const colluser=require('./coll/user')
const router = new Router();


router.get('/', async(ctx, next) => {
        ctx.body = {
            code: 200,
            msg: 'success',
            data: null
        }
    })

//增
router.post('/getuserlist',colluser.getzzz)
//删
router.post('/getusershan',colluser.getsss)
//改
router.post('/getusergai',colluser.getggg)
//查
router.post('/getusercha',colluser.getuser)


module.exports=router